package com.itic.mall.system.order.persistence.model;

import com.itic.appbase.framework.common.persistence.model.BaseExample;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderExample extends BaseExample {
    /**
    
     *
     * @mbggenerated
     */
    protected String orderByClause;

    /**
    
     *
     * @mbggenerated
     */
    protected boolean distinct;

    /**
    
     *
     * @mbggenerated
     */
    protected List<Criteria> oredCriteria;

    /**
    
     *
     * @mbggenerated
     */
    public OrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
    
     *
     * @mbggenerated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
    
     *
     * @mbggenerated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
    
     *
     * @mbggenerated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
    
     *
     * @mbggenerated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
    
     *
     * @mbggenerated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
    
     *
     * @mbggenerated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class corresponds to the database table T_MALL_ORDER
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNull() {
            addCriterion("IS_EFFECTIVE is null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNotNull() {
            addCriterion("IS_EFFECTIVE is not null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveEqualTo(String value) {
            addCriterion("IS_EFFECTIVE =", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotEqualTo(String value) {
            addCriterion("IS_EFFECTIVE <>", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThan(String value) {
            addCriterion("IS_EFFECTIVE >", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThanOrEqualTo(String value) {
            addCriterion("IS_EFFECTIVE >=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThan(String value) {
            addCriterion("IS_EFFECTIVE <", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThanOrEqualTo(String value) {
            addCriterion("IS_EFFECTIVE <=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLike(String value) {
            addCriterion("IS_EFFECTIVE like", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotLike(String value) {
            addCriterion("IS_EFFECTIVE not like", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIn(List<String> values) {
            addCriterion("IS_EFFECTIVE in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotIn(List<String> values) {
            addCriterion("IS_EFFECTIVE not in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveBetween(String value1, String value2) {
            addCriterion("IS_EFFECTIVE between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotBetween(String value1, String value2) {
            addCriterion("IS_EFFECTIVE not between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNull() {
            addCriterion("ORG_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNotNull() {
            addCriterion("ORG_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeEqualTo(String value) {
            addCriterion("ORG_CODE =", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotEqualTo(String value) {
            addCriterion("ORG_CODE <>", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThan(String value) {
            addCriterion("ORG_CODE >", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_CODE >=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThan(String value) {
            addCriterion("ORG_CODE <", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThanOrEqualTo(String value) {
            addCriterion("ORG_CODE <=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLike(String value) {
            addCriterion("ORG_CODE like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotLike(String value) {
            addCriterion("ORG_CODE not like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIn(List<String> values) {
            addCriterion("ORG_CODE in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotIn(List<String> values) {
            addCriterion("ORG_CODE not in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeBetween(String value1, String value2) {
            addCriterion("ORG_CODE between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotBetween(String value1, String value2) {
            addCriterion("ORG_CODE not between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andReorderIsNull() {
            addCriterion("REORDER is null");
            return (Criteria) this;
        }

        public Criteria andReorderIsNotNull() {
            addCriterion("REORDER is not null");
            return (Criteria) this;
        }

        public Criteria andReorderEqualTo(Integer value) {
            addCriterion("REORDER =", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotEqualTo(Integer value) {
            addCriterion("REORDER <>", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderGreaterThan(Integer value) {
            addCriterion("REORDER >", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderGreaterThanOrEqualTo(Integer value) {
            addCriterion("REORDER >=", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderLessThan(Integer value) {
            addCriterion("REORDER <", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderLessThanOrEqualTo(Integer value) {
            addCriterion("REORDER <=", value, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderIn(List<Integer> values) {
            addCriterion("REORDER in", values, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotIn(List<Integer> values) {
            addCriterion("REORDER not in", values, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderBetween(Integer value1, Integer value2) {
            addCriterion("REORDER between", value1, value2, "reorder");
            return (Criteria) this;
        }

        public Criteria andReorderNotBetween(Integer value1, Integer value2) {
            addCriterion("REORDER not between", value1, value2, "reorder");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("NOTE is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("NOTE is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("NOTE =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("NOTE <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("NOTE >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("NOTE >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("NOTE <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("NOTE <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("NOTE like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("NOTE not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("NOTE in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("NOTE not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("NOTE between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("NOTE not between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("ORDER_NUM is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("ORDER_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(String value) {
            addCriterion("ORDER_NUM =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(String value) {
            addCriterion("ORDER_NUM <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(String value) {
            addCriterion("ORDER_NUM >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(String value) {
            addCriterion("ORDER_NUM >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(String value) {
            addCriterion("ORDER_NUM <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(String value) {
            addCriterion("ORDER_NUM <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLike(String value) {
            addCriterion("ORDER_NUM like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotLike(String value) {
            addCriterion("ORDER_NUM not like", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<String> values) {
            addCriterion("ORDER_NUM in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<String> values) {
            addCriterion("ORDER_NUM not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(String value1, String value2) {
            addCriterion("ORDER_NUM between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(String value1, String value2) {
            addCriterion("ORDER_NUM not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNull() {
            addCriterion("ORDER_TIME is null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNotNull() {
            addCriterion("ORDER_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeEqualTo(String value) {
            addCriterion("ORDER_TIME =", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotEqualTo(String value) {
            addCriterion("ORDER_TIME <>", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThan(String value) {
            addCriterion("ORDER_TIME >", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThanOrEqualTo(String value) {
            addCriterion("ORDER_TIME >=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThan(String value) {
            addCriterion("ORDER_TIME <", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThanOrEqualTo(String value) {
            addCriterion("ORDER_TIME <=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLike(String value) {
            addCriterion("ORDER_TIME like", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotLike(String value) {
            addCriterion("ORDER_TIME not like", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIn(List<String> values) {
            addCriterion("ORDER_TIME in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotIn(List<String> values) {
            addCriterion("ORDER_TIME not in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeBetween(String value1, String value2) {
            addCriterion("ORDER_TIME between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotBetween(String value1, String value2) {
            addCriterion("ORDER_TIME not between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayIsNull() {
            addCriterion("ORDER_IS_PAY is null");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayIsNotNull() {
            addCriterion("ORDER_IS_PAY is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayEqualTo(String value) {
            addCriterion("ORDER_IS_PAY =", value, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayNotEqualTo(String value) {
            addCriterion("ORDER_IS_PAY <>", value, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayGreaterThan(String value) {
            addCriterion("ORDER_IS_PAY >", value, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayGreaterThanOrEqualTo(String value) {
            addCriterion("ORDER_IS_PAY >=", value, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayLessThan(String value) {
            addCriterion("ORDER_IS_PAY <", value, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayLessThanOrEqualTo(String value) {
            addCriterion("ORDER_IS_PAY <=", value, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayLike(String value) {
            addCriterion("ORDER_IS_PAY like", value, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayNotLike(String value) {
            addCriterion("ORDER_IS_PAY not like", value, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayIn(List<String> values) {
            addCriterion("ORDER_IS_PAY in", values, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayNotIn(List<String> values) {
            addCriterion("ORDER_IS_PAY not in", values, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayBetween(String value1, String value2) {
            addCriterion("ORDER_IS_PAY between", value1, value2, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsPayNotBetween(String value1, String value2) {
            addCriterion("ORDER_IS_PAY not between", value1, value2, "orderIsPay");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredIsNull() {
            addCriterion("ORDER_IS_EXPIRED is null");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredIsNotNull() {
            addCriterion("ORDER_IS_EXPIRED is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredEqualTo(String value) {
            addCriterion("ORDER_IS_EXPIRED =", value, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredNotEqualTo(String value) {
            addCriterion("ORDER_IS_EXPIRED <>", value, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredGreaterThan(String value) {
            addCriterion("ORDER_IS_EXPIRED >", value, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredGreaterThanOrEqualTo(String value) {
            addCriterion("ORDER_IS_EXPIRED >=", value, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredLessThan(String value) {
            addCriterion("ORDER_IS_EXPIRED <", value, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredLessThanOrEqualTo(String value) {
            addCriterion("ORDER_IS_EXPIRED <=", value, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredLike(String value) {
            addCriterion("ORDER_IS_EXPIRED like", value, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredNotLike(String value) {
            addCriterion("ORDER_IS_EXPIRED not like", value, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredIn(List<String> values) {
            addCriterion("ORDER_IS_EXPIRED in", values, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredNotIn(List<String> values) {
            addCriterion("ORDER_IS_EXPIRED not in", values, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredBetween(String value1, String value2) {
            addCriterion("ORDER_IS_EXPIRED between", value1, value2, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderIsExpiredNotBetween(String value1, String value2) {
            addCriterion("ORDER_IS_EXPIRED not between", value1, value2, "orderIsExpired");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeIsNull() {
            addCriterion("ORDER_EXPIRED_TIME is null");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeIsNotNull() {
            addCriterion("ORDER_EXPIRED_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeEqualTo(String value) {
            addCriterion("ORDER_EXPIRED_TIME =", value, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeNotEqualTo(String value) {
            addCriterion("ORDER_EXPIRED_TIME <>", value, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeGreaterThan(String value) {
            addCriterion("ORDER_EXPIRED_TIME >", value, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeGreaterThanOrEqualTo(String value) {
            addCriterion("ORDER_EXPIRED_TIME >=", value, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeLessThan(String value) {
            addCriterion("ORDER_EXPIRED_TIME <", value, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeLessThanOrEqualTo(String value) {
            addCriterion("ORDER_EXPIRED_TIME <=", value, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeLike(String value) {
            addCriterion("ORDER_EXPIRED_TIME like", value, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeNotLike(String value) {
            addCriterion("ORDER_EXPIRED_TIME not like", value, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeIn(List<String> values) {
            addCriterion("ORDER_EXPIRED_TIME in", values, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeNotIn(List<String> values) {
            addCriterion("ORDER_EXPIRED_TIME not in", values, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeBetween(String value1, String value2) {
            addCriterion("ORDER_EXPIRED_TIME between", value1, value2, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andOrderExpiredTimeNotBetween(String value1, String value2) {
            addCriterion("ORDER_EXPIRED_TIME not between", value1, value2, "orderExpiredTime");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("USER_ID is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("USER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("USER_ID =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("USER_ID <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("USER_ID >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("USER_ID >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("USER_ID <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("USER_ID <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("USER_ID like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("USER_ID not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("USER_ID in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("USER_ID not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("USER_ID between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("USER_ID not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNull() {
            addCriterion("TOTAL_MONEY is null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIsNotNull() {
            addCriterion("TOTAL_MONEY is not null");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyEqualTo(String value) {
            addCriterion("TOTAL_MONEY =", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotEqualTo(String value) {
            addCriterion("TOTAL_MONEY <>", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThan(String value) {
            addCriterion("TOTAL_MONEY >", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyGreaterThanOrEqualTo(String value) {
            addCriterion("TOTAL_MONEY >=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThan(String value) {
            addCriterion("TOTAL_MONEY <", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLessThanOrEqualTo(String value) {
            addCriterion("TOTAL_MONEY <=", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyLike(String value) {
            addCriterion("TOTAL_MONEY like", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotLike(String value) {
            addCriterion("TOTAL_MONEY not like", value, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyIn(List<String> values) {
            addCriterion("TOTAL_MONEY in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotIn(List<String> values) {
            addCriterion("TOTAL_MONEY not in", values, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyBetween(String value1, String value2) {
            addCriterion("TOTAL_MONEY between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalMoneyNotBetween(String value1, String value2) {
            addCriterion("TOTAL_MONEY not between", value1, value2, "totalMoney");
            return (Criteria) this;
        }

        public Criteria andTotalProductIsNull() {
            addCriterion("TOTAL_PRODUCT is null");
            return (Criteria) this;
        }

        public Criteria andTotalProductIsNotNull() {
            addCriterion("TOTAL_PRODUCT is not null");
            return (Criteria) this;
        }

        public Criteria andTotalProductEqualTo(String value) {
            addCriterion("TOTAL_PRODUCT =", value, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductNotEqualTo(String value) {
            addCriterion("TOTAL_PRODUCT <>", value, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductGreaterThan(String value) {
            addCriterion("TOTAL_PRODUCT >", value, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductGreaterThanOrEqualTo(String value) {
            addCriterion("TOTAL_PRODUCT >=", value, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductLessThan(String value) {
            addCriterion("TOTAL_PRODUCT <", value, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductLessThanOrEqualTo(String value) {
            addCriterion("TOTAL_PRODUCT <=", value, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductLike(String value) {
            addCriterion("TOTAL_PRODUCT like", value, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductNotLike(String value) {
            addCriterion("TOTAL_PRODUCT not like", value, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductIn(List<String> values) {
            addCriterion("TOTAL_PRODUCT in", values, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductNotIn(List<String> values) {
            addCriterion("TOTAL_PRODUCT not in", values, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductBetween(String value1, String value2) {
            addCriterion("TOTAL_PRODUCT between", value1, value2, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andTotalProductNotBetween(String value1, String value2) {
            addCriterion("TOTAL_PRODUCT not between", value1, value2, "totalProduct");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("PAY_TIME is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("PAY_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(String value) {
            addCriterion("PAY_TIME =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(String value) {
            addCriterion("PAY_TIME <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(String value) {
            addCriterion("PAY_TIME >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(String value) {
            addCriterion("PAY_TIME >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(String value) {
            addCriterion("PAY_TIME <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(String value) {
            addCriterion("PAY_TIME <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLike(String value) {
            addCriterion("PAY_TIME like", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotLike(String value) {
            addCriterion("PAY_TIME not like", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<String> values) {
            addCriterion("PAY_TIME in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<String> values) {
            addCriterion("PAY_TIME not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(String value1, String value2) {
            addCriterion("PAY_TIME between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(String value1, String value2) {
            addCriterion("PAY_TIME not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("PAY_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("PAY_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(String value) {
            addCriterion("PAY_TYPE =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(String value) {
            addCriterion("PAY_TYPE <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(String value) {
            addCriterion("PAY_TYPE >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(String value) {
            addCriterion("PAY_TYPE >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(String value) {
            addCriterion("PAY_TYPE <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(String value) {
            addCriterion("PAY_TYPE <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLike(String value) {
            addCriterion("PAY_TYPE like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotLike(String value) {
            addCriterion("PAY_TYPE not like", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<String> values) {
            addCriterion("PAY_TYPE in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<String> values) {
            addCriterion("PAY_TYPE not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(String value1, String value2) {
            addCriterion("PAY_TYPE between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(String value1, String value2) {
            addCriterion("PAY_TYPE not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdIsNull() {
            addCriterion("USER_ADDRESS_ID is null");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdIsNotNull() {
            addCriterion("USER_ADDRESS_ID is not null");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdEqualTo(String value) {
            addCriterion("USER_ADDRESS_ID =", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdNotEqualTo(String value) {
            addCriterion("USER_ADDRESS_ID <>", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdGreaterThan(String value) {
            addCriterion("USER_ADDRESS_ID >", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdGreaterThanOrEqualTo(String value) {
            addCriterion("USER_ADDRESS_ID >=", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdLessThan(String value) {
            addCriterion("USER_ADDRESS_ID <", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdLessThanOrEqualTo(String value) {
            addCriterion("USER_ADDRESS_ID <=", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdLike(String value) {
            addCriterion("USER_ADDRESS_ID like", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdNotLike(String value) {
            addCriterion("USER_ADDRESS_ID not like", value, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdIn(List<String> values) {
            addCriterion("USER_ADDRESS_ID in", values, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdNotIn(List<String> values) {
            addCriterion("USER_ADDRESS_ID not in", values, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdBetween(String value1, String value2) {
            addCriterion("USER_ADDRESS_ID between", value1, value2, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andUserAddressIdNotBetween(String value1, String value2) {
            addCriterion("USER_ADDRESS_ID not between", value1, value2, "userAddressId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("STATUS like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("STATUS not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andWuliuIdIsNull() {
            addCriterion("WULIU_ID is null");
            return (Criteria) this;
        }

        public Criteria andWuliuIdIsNotNull() {
            addCriterion("WULIU_ID is not null");
            return (Criteria) this;
        }

        public Criteria andWuliuIdEqualTo(String value) {
            addCriterion("WULIU_ID =", value, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdNotEqualTo(String value) {
            addCriterion("WULIU_ID <>", value, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdGreaterThan(String value) {
            addCriterion("WULIU_ID >", value, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdGreaterThanOrEqualTo(String value) {
            addCriterion("WULIU_ID >=", value, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdLessThan(String value) {
            addCriterion("WULIU_ID <", value, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdLessThanOrEqualTo(String value) {
            addCriterion("WULIU_ID <=", value, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdLike(String value) {
            addCriterion("WULIU_ID like", value, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdNotLike(String value) {
            addCriterion("WULIU_ID not like", value, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdIn(List<String> values) {
            addCriterion("WULIU_ID in", values, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdNotIn(List<String> values) {
            addCriterion("WULIU_ID not in", values, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdBetween(String value1, String value2) {
            addCriterion("WULIU_ID between", value1, value2, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andWuliuIdNotBetween(String value1, String value2) {
            addCriterion("WULIU_ID not between", value1, value2, "wuliuId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdIsNull() {
            addCriterion("SEC_ORDER_ID is null");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdIsNotNull() {
            addCriterion("SEC_ORDER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdEqualTo(String value) {
            addCriterion("SEC_ORDER_ID =", value, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdNotEqualTo(String value) {
            addCriterion("SEC_ORDER_ID <>", value, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdGreaterThan(String value) {
            addCriterion("SEC_ORDER_ID >", value, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("SEC_ORDER_ID >=", value, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdLessThan(String value) {
            addCriterion("SEC_ORDER_ID <", value, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdLessThanOrEqualTo(String value) {
            addCriterion("SEC_ORDER_ID <=", value, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdLike(String value) {
            addCriterion("SEC_ORDER_ID like", value, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdNotLike(String value) {
            addCriterion("SEC_ORDER_ID not like", value, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdIn(List<String> values) {
            addCriterion("SEC_ORDER_ID in", values, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdNotIn(List<String> values) {
            addCriterion("SEC_ORDER_ID not in", values, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdBetween(String value1, String value2) {
            addCriterion("SEC_ORDER_ID between", value1, value2, "secOrderId");
            return (Criteria) this;
        }

        public Criteria andSecOrderIdNotBetween(String value1, String value2) {
            addCriterion("SEC_ORDER_ID not between", value1, value2, "secOrderId");
            return (Criteria) this;
        }
    }

    /**
     * This class corresponds to the database table T_MALL_ORDER
     *
     * @mbggenerated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class corresponds to the database table T_MALL_ORDER
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value) {
            super();
            this.condition = condition;
            this.value = value;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.betweenValue = true;
        }
    }
}